package com.baizhi.service;

import com.baizhi.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("user-module")
public interface FeignService {
    @GetMapping("/user-module/user/selectOne/{id}")
    User selectOne(@PathVariable("id") int id);
}
